package com.zhijiaoyun.dao;

import com.zhijiaoyun.dao.core.IBaseDao;
import com.zhijiaoyun.model.Banner;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author shisfish
 * @date 2017/6/6
 */
public interface IBannerDao extends IBaseDao<Banner> {
    /**
     * list by title and bannerType
     *
     * @param title
     * @param bannerType
     * @return
     */
    List<Banner> getByParams(@Param("title") String title, @Param("bannerType") Integer bannerType);
}